package com.clr.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

/**
 * @author 车礼荣
 * @version 1.0
 * @Description: 1
 * @Date: 2025-06-15 16:13
 */

@SpringBootApplication
public class RestTemplateApp {
    public static void main(String[] args) {
        SpringApplication.run(RestTemplateApp.class,args);
    }

    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}